package com.dinghui.salary.pojo;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@Table(name = "salary_calculate_equation")
public class SalaryCalculateEquation implements Serializable {
    /**
     * 主键id
     */
    @Id
    private String id;

    /**
     * 工资计算公式name
     */
    private String name;

    /**
     * 工资计算公式
     */
    private String expression;

    /**
     * 工资计算公式
     */
    @Column(name = "expression_list")
    private String expressionList;

    /**
     * 是否删除,逻辑删除
     */
    @Column(name = "is_delete")
    private Boolean isDelete;

    /**
     * 创建人
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 年月
     */
    @Column(name = "time")
    private String time;

    /**
     * 类型
     */
    @Column(name = "type")
    private Integer type;

}